﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX;

namespace SGX
{
    class MatrixNode : SceneNode
    {
        Matrix m_matrix;

        public MatrixNode()
            : base()
        {
            m_matrix = Matrix.Identity;
        }
        public MatrixNode(ref Matrix matrix)
        {
            m_matrix = matrix;
        }

        public void GetMatrix(out Matrix matrix)
        {
            matrix = m_matrix;
        }

        public void SetMatrix(ref Matrix matrix)
        {
            m_matrix = matrix;
        }
    }
}
